package pl.edu.mimuw.irs.core.model.petrinet;

import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.io.Serializable;

import pl.edu.mimuw.irs.core.global.IUniqueObject;


/**
 * @author Jakub Rauch
 * Created on: 2009-05-07
 */
public interface IElement extends IUniqueObject, Serializable {

	// *** Attributes

	// The whole net
	public Net getNet();
	public void setNet(Net net);

	public void addPropertyChangeListener(PropertyChangeListener listener);
	public void addPropertyChangeListener(String property, PropertyChangeListener listener);
	public void removePropertyChangeListener(PropertyChangeListener listener);
	public void removePropertyChangeListener(String property, PropertyChangeListener listener);
	public PropertyChangeSupport getListeners();
}
